import request from '@/utils/request'
// 企业用户下拉
export const getceshijiekou = () => request.get('pio-microservice-biz/cbm/organization/company/list')
// 配电室下拉
export const getpdaxialaapi = data => request.get(`pio-microservice-biz/pio/common/switchroom/list?orgNo=${data.orgNo}`)
// 屏柜下拉列表
export const getpgxialaapi = switchRoomId => request.get(`pio-microservice-biz/pio/common/screen/list?switchRoomId=${switchRoomId}`)
// 日抄表清单
export const getrilistapi = params => request.get('pio-microservice-biz/pio/statement/epower/day/hour/list', { params })
// 回路下拉
export const gethuixialaapi = params => request.get('pio-microservice-biz/pio/common/bay/list', { params })
// 日用电清单
export const getriyongdianapi = params => request.get('pio-microservice-biz/pio/statement/epower/day/bay/list', { params })
// 导出日抄表
export const exportribiaoapi = data => request.post(`pio-microservice-biz/pio/statement/epower/day/hour/excel`, data , { responseType: 'arraybuffer' })
// 导出日用电量
export const postriyongapi=data=>request.post('pio-microservice-biz/pio/statement/epower/day/bay/excel', data , { responseType: 'arraybuffer' })
// 查询用电单位电费情况
